import java.util.Scanner;
public class HomeWork01 {
    public static void main(String[] args){
        Student[] students = new Student[3];
        Scanner scanner = new Scanner(System.in);
        for(int i=0; i<3; ++i){
            long Student_ID = scanner.nextLong();
            String Name = scanner.next();
            String Sex = scanner.next();
            int Age = scanner.nextInt();
            int Math_Score = scanner.nextInt();
            int English_Score = scanner.nextInt();
            int Computer_Score = scanner.nextInt();
            Student temp = new Student();
            temp.init(Student_ID,Name,Sex,Age,Math_Score,English_Score,Computer_Score);
            students[i] = temp;
        }
        for(int i=0; i<3; ++i){
            students[i].show();
        }
    }
}
class Student{
    long Student_ID;
    String Name = new String();
    String Sex = new String();
    int Age;
    int Math_Score;
    int English_Score;
    int Computer_Score;
    public void init (long Student_ID,String Name, String Sex,int Age,int Math_Score,int English_Score,int Computer_Score){
        this.Student_ID = Student_ID;
        this.Name = Name;
        this.Sex = Sex;
        this.Age = Age;
        this.Math_Score = Math_Score;
        this.English_Score = English_Score;
        this.Computer_Score = Computer_Score;
    }
    public void show(){
        System.out.println("student:"+Student_ID+","+Name+","+Sex+","+Age+","+Math_Score+","+English_Score+","+Computer_Score);
    }
}